package com.wang.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 健康课堂资源表——王宇鑫
 * @TableName tb_course_resource
 */
@TableName(value ="tb_course_resource")
@Data
public class CourseResource implements Serializable {
    /**
     * 资源id
     */
    @TableId(type = IdType.AUTO)
    private Integer resourceId;

    /**
     * 图片地址或视频地址
     */
    private String resourceUrl;

    /**
     * 课堂id
     */
    private Integer courseId;

    /**
     * 
     */
    private Boolean delFlag;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}